package com.iwhalecloud.bss.kite.cucc.service.scene.loader;

import java.util.List;

import com.google.common.collect.Lists;
import com.iwhalecloud.bss.kite.cucc.client.api.scene.IInstLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccAddRoleOfferInstLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccAdditionalOfferInstLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccCommonAttrLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccGiftOfferInstLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccMainOfferInstLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccOfferInstAcctLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccOfferInstContractLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccOfferInstDeliveryLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccOfferInstDiscountLoader;
import com.iwhalecloud.bss.kite.cucc.service.scene.loader.impl.CuccSerialNumberLoader;
import com.ztesoft.bss.common.util.SpringUtil;

public class CuccInstLoaderFactory {

    public static List<IInstLoader> getInstLoaders() {
        List<IInstLoader> loaders = Lists.newArrayList();
        /*loaders.add(SpringUtil.getBean(CuccGiftOfferInstLoader.class));
        loaders.add(SpringUtil.getBean(CuccMainOfferInstLoader.class));
        loaders.add(SpringUtil.getBean(CuccAddRoleOfferInstLoader.class));
        loaders.add(SpringUtil.getBean(CuccAdditionalOfferInstLoader.class));*/
        loaders.add(SpringUtil.getBean(CuccOfferInstAcctLoader.class));
        loaders.add(SpringUtil.getBean(CuccOfferInstContractLoader.class));
        //loaders.add(SpringUtil.getBean(CuccCommonAttrLoader.class));
        loaders.add(SpringUtil.getBean(CuccOfferInstDeliveryLoader.class));
        loaders.add(SpringUtil.getBean(CuccOfferInstDiscountLoader.class));
        //loaders.add(SpringUtil.getBean(CuccSerialNumberLoader.class));
        return loaders;
    }
    
}
